﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TimerJobServer.Common.Mina
{
    /// <summary>
    /// 传输类型 
    /// </summary>
    public enum  TranType
    {
        /// <summary>
        /// 查询操作
        /// </summary>
        Get,
        /// <summary>
        /// 设置操作
        /// </summary>
        Put,
        /// <summary>
        /// 日志信息
        /// </summary>
        Log,
        /// <summary>
        /// 获取工作列表
        /// </summary>
        GetJobList,
        /// <summary>
        /// 添加任务
        /// </summary>
        AddJob,
        /// <summary>
        /// 删除任务
        /// </summary>
        RemoveJob,
        /// <summary>
        /// 更新任务
        /// </summary>
        UpdateJob,
        /// <summary>
        /// 执行任务
        /// </summary>
        ExeJob,

        /// <summary>
        /// 启动所有工作
        /// </summary>
        EnableJobs,

        /// <summary>
        /// 禁用所有工作
        /// </summary>
        DisableJobs,

        /// <summary>
        /// 获取远程文件列表
        /// </summary>
        GetRemoteFiles,
        /// <summary>
        /// 读取远程文件
        /// </summary>
        ReadRemoteFile,
        /// <summary>
        /// 保存远程文件
        /// </summary>
        SaveRemoteFile

    }
}
